package com.zkingsofter.service;

import java.util.List;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.zkingsoft.model.Users;
import com.zkingsoft.services.UsersService;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration({ "classpath:applicationContext-test.xml" })
public class test1 {
	@Resource

	UsersService userService;

	@Test
	public void add() {
		List<Users> list=userService.findInPage(null, null);
		System.out.println(list);
		
	}



}
